<?php

namespace Model\ExamBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * ExamQuestion
 *
 * @ORM\Table(name="examQuestion")
 * @ORM\Entity(repositoryClass="Model\ExamBundle\Repository\ExamQuestionRepository")
 */
class ExamQuestion
{
    /**
     * @var int
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var int
     *
     * @ORM\Column(name="groups", type="integer")
     */
    private $groups;

    /**
     * @var int
     *
     * @ORM\Column(name="examId", type="integer")
     */
    private $examId;

    /**
     * @var int
     *
     * @ORM\Column(name="questionId", type="integer")
     */
    private $questionId;

    /**
     * @var int
     *
     * @ORM\Column(name="score", type="integer")
     */
    private $score;

    /**
     * @var int
     *
     * @ORM\Column(name="orders", type="integer")
     */
    private $orders;


    /**
     * Get id
     *
     * @return int
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set groups
     *
     * @param integer $groups
     *
     * @return ExamQuestion
     */
    public function setGroups($groups)
    {
        $this->groups = $groups;

        return $this;
    }

    /**
     * Get groups
     *
     * @return int
     */
    public function getGroups()
    {
        return $this->groups;
    }

    /**
     * Set examId
     *
     * @param integer $examId
     *
     * @return ExamQuestion
     */
    public function setExamId($examId)
    {
        $this->examId = $examId;

        return $this;
    }

    /**
     * Get examId
     *
     * @return int
     */
    public function getExamId()
    {
        return $this->examId;
    }

    /**
     * Set questionId
     *
     * @param integer $questionId
     *
     * @return ExamQuestion
     */
    public function setQuestionId($questionId)
    {
        $this->questionId = $questionId;

        return $this;
    }

    /**
     * Get questionId
     *
     * @return int
     */
    public function getQuestionId()
    {
        return $this->questionId;
    }

    /**
     * Set score
     *
     * @param integer $score
     *
     * @return ExamQuestion
     */
    public function setScore($score)
    {
        $this->score = $score;

        return $this;
    }

    /**
     * Get score
     *
     * @return int
     */
    public function getScore()
    {
        return $this->score;
    }

    /**
     * Set orders
     *
     * @param integer $orders
     *
     * @return ExamQuestion
     */
    public function setOrders($orders)
    {
        $this->orders = $orders;

        return $this;
    }

    /**
     * Get orders
     *
     * @return int
     */
    public function getOrders()
    {
        return $this->orders;
    }
}

